package cn.oms.dict.provider.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author AllenChen曾晨
 * @since 2022-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("web_menu_dict")
@ApiModel(value="WebMenuDict对象", description="")
public class WebMenuDict implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID(新增生成)")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "父类菜单ID")
    @TableField("PARENT_MENU_ID")
    private Integer parentMenuId;

    @ApiModelProperty(value = "菜单等级（一级、二级、三级）")
    @TableField("MENU_LEVEL")
    private Integer menuLevel;

    @ApiModelProperty(value = "菜单名称（中文）")
    @TableField("MENU_NAME_CN")
    private String menuNameCn;

    @ApiModelProperty(value = "菜单名称（英文）")
    @TableField("MENU_NAME_EN")
    private String menuNameEn;

    @ApiModelProperty(value = "菜单地址(用于前端点击跳转的地址)")
    @TableField("MENU_ADDRESS")
    private String menuAddress;

    @ApiModelProperty(value = "菜单图标")
    @TableField("MENU_ICON")
    private String menuIcon;

    @ApiModelProperty(value = "访问菜单是否需要参数（0不带参 1带参）")
    @TableField("NEED_PARAMETER")
    private Integer needParameter;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDate createTime;

    @ApiModelProperty(value = "删除标记")
    @TableField("DEL_FLAG")
    private Integer delFlag;


}
